<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="./js/vue.js"></script>
    <title>Title</title>
</head>
<body>

<div id="app">
    <h1>{{name}}</h1>
</div>

</body>
<script>
    new Vue({
        el:'#app', //根据id找到div
        data:{
            name:'jk',
        }
    })
</script>
</html>